package com.net.xpay.common.dao.operator;

import com.net.xpay.common.domain.operator.OperatorUser;
import com.net.common.dao.Page;
import com.net.common.dao.VersionedMapper;
import com.net.common.annotation.DataCommon;
import com.net.xpay.core.model.OperatorUsersSearchModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataCommon
@Repository
public interface OperatorUserMapper extends VersionedMapper<Long, OperatorUser> {
    List<OperatorUser> search(@Param("searchModel") OperatorUsersSearchModel searchModel,@Param("page") Page page);

    long searchCount(@Param("searchModel") OperatorUsersSearchModel searchModel);
}
